//
//  CameraBottomView.h
//  Runner
//
//  Created by tock on 2023/9/23.
//

#import <UIKit/UIKit.h>


typedef enum : NSUInteger {
        FUNC_TYPE_PIC,            /// 拍照按钮点击
        FUNC_TYPE_VIDEO,        /// 录制视频按钮点击（包括录制开始、录制结束）
        FUNC_TYPE_RETRY,        /// 点击重新拍照
        FUNC_TYPE_BACK,         /// 点击返回（退出）
        FUNC_TYPE_NEXT,         /// 点击下一步
} FUNCTYPE;

@class CameraBottomView;

#pragma mark - 点击事件回调
@protocol BSVideoBottomViewDelegate <NSObject>
@required
#pragma mark 点击任一按钮的回调，根据 FUNCTYPE 识别点击的按钮
-(void)BSVideoBottomView:(CameraBottomView *)bottomView didClickFuncBtnWithType:(FUNCTYPE)funcType;

@end
@interface CameraBottomView : UIView
@property (nonatomic ,strong) UIButton *takeBtn;
@property (nonatomic ,strong) UIButton *cancelBtn;
@property (nonatomic ,strong) UIButton *nextBtn;
@property (nonatomic ,weak) id <BSVideoBottomViewDelegate> delegate;
@end


